package com.briup.jz.service;

import java.util.List;

import com.briup.jz.bean.Order;
import com.briup.jz.utils.CustomerException;



public interface IOrderService {
	void saveOrUpdate(Order order) throws CustomerException;
	
	List<Order> query(Long id);
	
	void cancelSendOrder(Long orderId);
	
	void deleteById(long id) throws CustomerException;
	
	void confirmOrder(Long orderId);
	
	void findById(Long id);
	
	void rejectOrder(Long orderId);
	
	void sendOrder(Long waiterId,Long orderId);
	
	void serviceCompleteOrder(Long orderId);
	
	void takeOrder(Long orderId);
	
	void submitOrder(Order order);
}
